package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.MarginBean;

/**
* 描述：获取融资融券每日交易汇总数据
* @author: codesmith
**/
@Data
@TableName("margin")
public class MarginEntity implements MarginBean {
    
    /*
    * 交易日期
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;
    /*
    * 交易所代码（SSE上交所SZSE深交所）
    */
    @TableId
    @TableField("`exchange_id`") protected String exchangeId;

    @TableField("`rzye`") protected Double rzye;

    @TableField("`rzmre`") protected Double rzmre;

    @TableField("`rzche`") protected Double rzche;

    @TableField("`rqye`") protected Double rqye;

    @TableField("`rqmcl`") protected Double rqmcl;

    @TableField("`rzrqye`") protected Double rzrqye;

    @TableField("`rqyl`") protected Double rqyl;
}